package com.itheima.api;

import com.itheima.pojo.UmsAdminRoleRelation;

import java.util.List;

public interface UmsAdminRoleRelationApi {
    //根据用户id查找角色
    List<UmsAdminRoleRelation> getByAdminId(Long userId);

    void removeByAdminId(Long adminId);

    void save(UmsAdminRoleRelation umsAdminRoleRelation);
}
